/**
 * Created by lenovo on 17-6-8.
 */
var express = require('express');
var router = express.Router();
var checkLogin = require('../middlewares/check').checkLogin;

router.get('/',checkLogin,function(req,res,next){
    req.session.user = null;
    res.redirect('/signin');
});

module.exports = router;